package org.example.myleet.p941;

public class Main {
    public static void main(String[] args) {
        //case 1
//        int[] input = new int[]{3,5,5};
        //case 2
//        int[] input = new int[]{0,3,2,1};
        //case 3
//        int[] input = new int[]{0,2,3,4,5,2,1,0};
        //case 4
//        int[] input = new int[]{0,2,3,3,5,2,1,0};
        //case 5
//        int[] input = new int[]{0,2,3,4,5,6,7,8};
        //case 6
        int[] input = new int[]{9,8,7,6,5,2,1,0};
        Solution solution = new Solution();
        boolean valid = solution.validMountainArray(input);
        System.out.println(valid);
    }
}
